<div class="content content4 page" data-page="accountRecordApply" id="accountRecordApply">
	<p class="p1"><img src="../../../res/png/round2.png" />&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:changeTab(1)">申请记录</a></p>
	<div id="applyType" class="applyType1"><span applyType="applyType1" action="inquireNormalPickupApplicationPageList.json" class="active_applyType" type="pickupId">提货申请</span><span type="pickupId" action="inquirePrePickupApplicationPageList.json" applyType="applyType2">提前还款申请</span><span action="inquirePickupDelayApplicationPageList.json"
		applyType="applyType3" type="pickupDelayId">延期还款申请</span><span type="pickupId" action="inquireRansomPickupApplicationPageList.json" applyType="applyType4">赎货申请</span><span type="detainedId" action="inquireEnterpriseDetainedApplicationPageList.json"
		applyType="applyType5">扣货申请</span><span type="detainedId" action="inquireInterestDelayApplicationPageList.json"applyType="applyType6">延期计息申请</span></div>
	<div class="searchBox">
		<div class="tdiv">申请时间：
			<input placeholder="请选择时间" onclick="WdatePicker({maxDate:'#F{$dp.$D(\'dateEnd\',{d:0})}'})" class="input1" id="dateBegin" type="text" />--
			<input placeholder="请选择时间" onclick="WdatePicker({minDate:'#F{$dp.$D(\'dateBegin\',{d:1})}'})" class="input1" id="dateEnd" type="text" style="margin-right: 65px;" />融资编号：
			<input placeholder="请输入融资编号" id="applyFinanceNumber" class="input2" type="text" style="margin-right: 44px; width: 112px;" />状态：
			<select style="width: 112px;" class="input2" id="financeStateApply">
				<option value="-1">全部</option>
				<option value="1">未审批</option>
				<option value="2">同意</option>
				<option value="3">拒绝</option>
				<option value="4">已收款</option>
				<option value="5">已放款</option>
				<option value="6">违约</option>
			</select>
			<a id="accountRecordApplySearchButton" action="inquireNormalPickupApplicationPageList.json">查询</a>
		</div>
	</div>
	<div style="margin-left: 27px; margin-right: 40px;">
	<table style="width: 100%;" class="data_table" cellspacing="0px" cellpadding="0px" id="accountRecordApplyListBody">
	</table>
	</div>
	<script type="text/template" id="accountRecordApplyListTpl">
		<tr>
			<th>申请时间|融资编号</th>
			<th>申请人</th>
			<th>申请状态</th>
			<th>预计还款</th>
			<th>提货方式</th>
			<th>配送方式</th>
			<th>操作</th>
		</tr>
		{@each datas as it}
		<tr financeId="${it.financeId}" pickupId="${it.pickupId}" detainedId="${it.detainedId}" pickupDelayId="${it.pickupDelayId}">
			<td>${it.applicantDatetime}${it.applicantDateTime}<br /><span class="order_num">${it.financeNumber}</span></td>
			<td>${it.enterpriseName}</td>
			<td>${getValueByKey(6, it.applicationState)}</td>
			<td>&#65509;${it.auditAmount}</td>
			<td>${getValueByKey(17, it.pickupMethod)}</td>
			<td>${getValueByKey(24, it.deliveryMethod)}</td>
			<td><a class="detailApplication">详情</a></td>
		</tr>
		{@/each}
	</script>
  	<script type="text/template" id="accountRecordApplyListTpl1">
		<tr>
			<th>申请时间|融资编号</th>
			<th>申请人</th>
			<th>申请状态</th>
			<th>审核人员</th>
			<th>审核日期</th>
			<th>操作</th>
		</tr>
		{@each datas as it}
		<tr interestDelayId="${it.interestDelayId}" financeId="${it.financeId}" pickupId="${it.pickupId}" detainedId="${it.detainedId}" pickupDelayId="${it.pickupDelayId}">
			<td>${it.applicantDatetime}${it.applicantDateTime}<br /><span class="order_num">${it.financeNumber}</span></td>
			<td>${it.applicant}</td>
			<td>${getValueByKey(6, it.applicationState)}</td>
			<td>${it.auditor}</td>
			<td>${it.auditDateTime}</td>
			<td><a class="detailApplication">详情</a></td>
		</tr>
		{@/each}
	</script>
	<div id="changepage" class="pagerCon"></div>
</div>